1 00:00:07,000 --> 00:00:08,930 Atlanta, Georgia. 2 00:00:09,520 --> 00:00:11,060 Yes, OK, fine. 3 00:00:11,620 --> 00:00:14,710 So we are welcome, all of you. 4 00:00:15,190 --> 00:00:22,540 We are today, uh, in today for Advanced Topic before a different topic. 5 00:00:23,560 --> 00:00:24,360 Let's go. 6 00:00:24,730 --> 00:00:25,390 Uh. 7 00:00:27,640 --> 00:00:29,860 For starting to see something. 8 00:00:35,180 --> 00:00:36,350 I've shared my screen. 9 00:00:40,770 --> 00:00:41,910 So the. 10 00:00:43,840 --> 00:00:51,960 This is one tribe, so in the recording, I am sharing all the files related training, so this rapid 11 00:00:51,970 --> 00:01:02,020 training is the folder from Corradi and the application liability management from Guaranies instance, 12 00:01:02,830 --> 00:01:05,710 file open doubt's list, open doors. 13 00:01:05,920 --> 00:01:07,810 That list is here. 14 00:01:08,200 --> 00:01:14,860 So we record all questions during the training and we close them one, one after one. 15 00:01:15,640 --> 00:01:16,190 OK. 16 00:01:18,500 --> 00:01:21,890 So keep, keep. 17 00:01:23,560 --> 00:01:32,920 Displaying or taking this list from time to time, because I am answering questions here on, for example, 18 00:01:32,920 --> 00:01:36,460 yesterday we raised the question on child of child labor. 19 00:01:37,600 --> 00:01:42,880 Today I did my R.A. and it the conclusion is not doable. 20 00:01:43,690 --> 00:01:46,050 Chick Cheetah in the cheetah. 21 00:01:46,720 --> 00:01:52,630 So I collected this comment from the forum and from Telegram group. 22 00:01:53,050 --> 00:01:59,940 So here they said why it is not doable, because it is not to render it. 23 00:01:59,950 --> 00:02:10,930 When the front page frappé we load the main DOCTYPE and the child DOCTYPE and the child of Chad is not 24 00:02:10,930 --> 00:02:12,050 it will not be loaded. 25 00:02:12,510 --> 00:02:17,450 OK, so this is one of the reason why it is not. 26 00:02:20,300 --> 00:02:21,180 Why it is not. 27 00:02:23,570 --> 00:02:28,820 So here, for example, apparently this is a possible scenario, but in practical terms, any timetable 28 00:02:28,820 --> 00:02:34,670 declared as a child of another child, David, will not be rendered on the website. 29 00:02:35,120 --> 00:02:41,860 Besides, it is not a good practice to have such dependency chain here in Russia. 30 00:02:41,960 --> 00:02:45,170 Metuh really hard to look at this. 31 00:02:45,170 --> 00:02:47,570 Generally, Mr. Table is a bad design. 32 00:02:48,770 --> 00:02:54,070 It seems to be really a fact that Mr. Davis are not working in Phoenix. 33 00:02:54,180 --> 00:03:02,520 So it's it's thinks some things to avoid you will lose your time and energy in such point. 34 00:03:02,540 --> 00:03:04,790 So back to our list. 35 00:03:05,180 --> 00:03:10,700 For example, how to delete, remove completely anop doctype Ifield. 36 00:03:11,160 --> 00:03:15,800 Here it is raised by Banat and we have answered the questions. 37 00:03:16,730 --> 00:03:28,220 There is a recording there for that Sishen maintain it with Banat and there is some comments to and 38 00:03:28,220 --> 00:03:33,010 a link to a document to for that point. 39 00:03:33,830 --> 00:03:40,970 So like this we are closing one after one and keep checking this, that list. 40 00:03:41,570 --> 00:03:42,440 This is one. 41 00:03:42,470 --> 00:03:49,160 There is another point to use here for. 42 00:03:51,170 --> 00:04:05,480 For this this agenda here, we are maintaining the agenda and we put the like what we did in every topics 43 00:04:05,960 --> 00:04:07,850 which sessions. 44 00:04:08,570 --> 00:04:12,800 So it's a it's an updated agenda here. 45 00:04:12,800 --> 00:04:18,410 We put we added barcoding and feature these two points of the ited. 46 00:04:19,530 --> 00:04:24,630 You can use this sheet for your reference, also novel. 47 00:04:24,710 --> 00:04:26,820 OK, yes, hello. 48 00:04:27,320 --> 00:04:27,610 Yes. 49 00:04:29,440 --> 00:04:36,170 Today, I had had a meeting with Abdulle and he told me that. 50 00:04:38,820 --> 00:04:46,830 It is the server, it is sometimes it is not running well. 51 00:04:48,050 --> 00:05:03,320 OK, so I told him that is that is that it can be a problem for us in a production environment. 52 00:05:06,090 --> 00:05:17,670 You will, yes, when we will send the so till now did not we didn't use the production installation 53 00:05:18,060 --> 00:05:25,890 till now, we are using development assistance or development environment installation where we use 54 00:05:26,550 --> 00:05:27,480 bench to start. 55 00:05:28,840 --> 00:05:37,900 Every time we use benches, but if you install ERP next for a production environment, there is other 56 00:05:37,900 --> 00:05:47,760 additional component or software need to be installed that will we you will not use bench to start again. 57 00:05:48,130 --> 00:05:51,550 It is running continuously. 58 00:05:52,090 --> 00:05:58,990 Production environment will run continuously without doing benches that this is to maybe Karani can 59 00:05:58,990 --> 00:06:02,020 explain to better than me karani. 60 00:06:05,320 --> 00:06:06,520 Hello, can you hear me? 61 00:06:06,910 --> 00:06:18,910 Yes, yeah, yeah, yeah, you got any idea I want to know what are the components of infrastructure 62 00:06:18,910 --> 00:06:21,430 for production environment? 63 00:06:23,450 --> 00:06:29,390 Well, production environment should not be should not be any different from the development environment, 64 00:06:30,470 --> 00:06:38,030 only that like Mommy is saying, you don't need to you don't need to to start to do start a production 65 00:06:38,030 --> 00:06:41,660 environment, runs runs on the default pot on your sarva. 66 00:06:42,620 --> 00:06:49,000 But ideally read this is not supposed to be having a problem with the instance unless Elfreda's had 67 00:06:49,010 --> 00:06:50,170 a problem even before. 68 00:06:51,020 --> 00:06:56,540 So this is not something that will be caused by by European next or it is European dependent because 69 00:06:56,540 --> 00:07:00,380 remember this is Asaba, it's on its own. 70 00:07:00,620 --> 00:07:02,950 Europeanist only came to run on top of it. 71 00:07:03,380 --> 00:07:11,630 So unless if you are at this installation has an issue, we are having problems there for four years. 72 00:07:11,790 --> 00:07:21,580 Next as a service, what are tools that is used behind it? 73 00:07:23,330 --> 00:07:26,510 What are those for? 74 00:07:27,230 --> 00:07:27,680 I don't know. 75 00:07:27,680 --> 00:07:33,290 I'm asking is that the the of the services. 76 00:07:35,040 --> 00:07:44,250 Running on Tucker, enjoying configurator by unseeable, for example, are now terraformed cabernets, 77 00:07:44,280 --> 00:07:50,990 what are the rules behind the postponement? 78 00:07:52,710 --> 00:07:57,060 Are you using or do you have a production sarva? 79 00:07:58,330 --> 00:08:02,660 That is running Europe next, or are you asking so that, again, you can deploy? 80 00:08:03,550 --> 00:08:06,010 I'm asking so I can deploy it. 81 00:08:07,350 --> 00:08:12,930 OK, OK, so, yes, the environment has to be configured exactly the way you are configuring this other 82 00:08:12,930 --> 00:08:14,240 one for development. 83 00:08:15,720 --> 00:08:23,580 To answer your question about communities and or and or DOCA, those are those are additions because 84 00:08:23,580 --> 00:08:27,630 ideally communities is his our content management. 85 00:08:27,990 --> 00:08:31,160 That's container management applications. 86 00:08:31,800 --> 00:08:39,510 So if you want to if you want to install your application on this or on top of DOCA, that will be specifically 87 00:08:39,510 --> 00:08:41,370 for the purposes of scalability. 88 00:08:41,880 --> 00:08:48,860 It is not function or maybe functionality, but then it is about how reliable the application is. 89 00:08:48,870 --> 00:08:53,310 But even if you didn't have to make our communities up next, instances run. 90 00:08:54,490 --> 00:08:58,810 But the environment is exactly the same as the development environment. 91 00:08:59,890 --> 00:09:07,690 Yeah, it's a question of scalability and the elasticity of the production environment as a service. 92 00:09:08,590 --> 00:09:14,720 So I would like to had ideas about how we can deploy it here. 93 00:09:14,920 --> 00:09:15,640 OK, thank you. 94 00:09:15,760 --> 00:09:16,140 Thank you. 95 00:09:16,220 --> 00:09:17,810 You're welcome. 96 00:09:20,270 --> 00:09:26,900 Yes, you are facing a problem with this current current use them or you have no 97 00:09:29,570 --> 00:09:35,200 actually I'm thinking about how we can deploy the next. 98 00:09:35,210 --> 00:09:45,320 And when I had the meeting with them and he told me that in the end, I don't know, in a blog or in 99 00:09:46,010 --> 00:09:53,610 excess of your next year's community, they had a problem with the reduce. 100 00:09:55,630 --> 00:10:00,100 So so now Muhammad Ali is stuck. 101 00:10:00,110 --> 00:10:00,440 Right. 102 00:10:00,470 --> 00:10:02,210 Installing ERP next. 103 00:10:02,210 --> 00:10:02,530 Right. 104 00:10:05,570 --> 00:10:17,840 Yeah, he's lucky that we'll see with him if he will reinstall or the totality of his operating system, 105 00:10:17,840 --> 00:10:24,140 maybe the TV set with Muhammad Ali for about two hours, maybe after the call. 106 00:10:24,710 --> 00:10:32,350 And we request from him to make some changes in the server and he will get back to me. 107 00:10:32,420 --> 00:10:34,610 And he didn't get back to me. 108 00:10:35,030 --> 00:10:37,910 But we can take it again after this call. 109 00:10:37,910 --> 00:10:39,770 We'll check with you guys. 110 00:10:40,880 --> 00:10:47,440 Let's start today's topic because we are already a little bit late. 111 00:10:48,080 --> 00:10:55,160 So, Karen, can you introduce us to today's topic and, uh, go ahead. 112 00:10:57,380 --> 00:10:57,770 Sure. 113 00:10:58,130 --> 00:10:58,700 So. 114 00:11:00,890 --> 00:11:10,460 Today, I want us to I want us to to clear the EPA is that the EPA's items we have on item number four 115 00:11:10,460 --> 00:11:12,320 and five, hopefully there is. 116 00:11:12,320 --> 00:11:17,540 And I want to I would like us to really clear these to this because we looked at EPA before. 117 00:11:17,540 --> 00:11:21,470 So today I'm introducing something very small that is new. 118 00:11:22,200 --> 00:11:26,150 We looked at EPA's exhaustively when we were doing the. 119 00:11:27,150 --> 00:11:33,540 Doing the beginner topics, so if you if maybe there is something that you have if you have a specific 120 00:11:33,540 --> 00:11:39,090 need here that will not be taken care of today, you can you can you can shoot your questions after 121 00:11:39,090 --> 00:11:39,420 this. 122 00:11:40,830 --> 00:11:48,660 So what I would like us to do today is assume you have let me go back to our article about. 123 00:11:51,230 --> 00:11:59,510 At least and here I assume that we want to have a button button somewhere here, so there are two types 124 00:11:59,510 --> 00:12:00,260 of space. 125 00:12:00,260 --> 00:12:07,850 If you remember, there is one that you can run on your application so you can call on an API from your 126 00:12:07,850 --> 00:12:14,180 application or you can call your API from outside of your application, which is which is which is item 127 00:12:14,180 --> 00:12:14,960 number five here. 128 00:12:15,590 --> 00:12:21,590 So these are some little differences that you need to take to take into consideration everything space 129 00:12:21,590 --> 00:12:23,330 for either of those. 130 00:12:23,960 --> 00:12:28,660 If you are writing an API to be used within this application here, it will not be there. 131 00:12:28,700 --> 00:12:34,630 You may need to do a straight change when you are writing an EPA to be used by an external application. 132 00:12:35,420 --> 00:12:37,820 So let's say, for instance, we want to have a button here. 133 00:12:38,530 --> 00:12:40,580 We are just going to use our example here. 134 00:12:41,330 --> 00:12:47,780 It may not make a lot of sense in the world, but you'll find you'll find ways of making it useful. 135 00:12:48,260 --> 00:12:50,030 So we have a button. 136 00:12:50,450 --> 00:12:58,100 And when we select, maybe when we select, when we click on a button, that button, we want to get 137 00:12:58,100 --> 00:13:05,090 the name of the order from this DOCTYPE and then we want to go to our database here and to get all the 138 00:13:05,090 --> 00:13:12,000 articles that were added or maybe that are owned by that particular order. 139 00:13:12,140 --> 00:13:16,520 So we want to see all of them, how we do, how we did that. 140 00:13:16,520 --> 00:13:21,830 Remember that we went to our what is this different app. 141 00:13:22,380 --> 00:13:24,860 So let me open our application here. 142 00:13:27,950 --> 00:13:28,890 OTP. 143 00:13:30,840 --> 00:13:32,790 Bench in training. 144 00:13:35,180 --> 00:13:45,980 So we go to our application, we open and we open on DOCTYPE, then we go to our article library DOCTYPE 145 00:13:46,550 --> 00:13:52,850 this JavaScript, remember this one is we if we want to add a button to our front end, we need to do 146 00:13:52,850 --> 00:13:54,580 that on the on the JavaScript file. 147 00:13:55,130 --> 00:14:01,610 So when we, we were looking at the dog types, we do, we do need to add a button somewhere here so 148 00:14:01,610 --> 00:14:13,490 we can just go straight to the next dog types and look for custom dog types of Ajax call so we can look 149 00:14:13,490 --> 00:14:16,440 at a way of adding a custom button. 150 00:14:16,520 --> 00:14:19,730 So it's odd custom button, something like this. 151 00:14:20,450 --> 00:14:23,720 So we can look at something like we one. 152 00:14:23,780 --> 00:14:24,740 Something like. 153 00:14:28,150 --> 00:14:29,350 Something like. 154 00:14:32,530 --> 00:14:37,840 Let's look at the look at this, there is a number of of of battle, but constant battles here, so 155 00:14:37,840 --> 00:14:41,200 it's upon you to choose which one you think works for you. 156 00:14:41,860 --> 00:14:45,220 So on our quiz here today, we can look at. 157 00:14:47,130 --> 00:14:54,360 We can look at maybe this one so we can copy this quote, as is copied this from the documentation this 158 00:14:54,360 --> 00:15:01,650 is on from DOD ad custom button, then go back to application to remember you need to add this, preferably 159 00:15:01,650 --> 00:15:06,590 the refresh method, so that every time you refresh your everyday you refresh. 160 00:15:06,610 --> 00:15:08,880 For instance, the button would be loaded. 161 00:15:09,820 --> 00:15:14,460 So we can go inside of this function and custom button. 162 00:15:16,160 --> 00:15:23,480 Like that, and then remember, this is a group, so maybe we can call this something like action so 163 00:15:23,480 --> 00:15:26,600 that we can maybe see if we need that. 164 00:15:26,910 --> 00:15:34,100 And then the name of this button, we can call it something like, what's something like get me p o 165 00:15:34,110 --> 00:15:36,500 the other articles. 166 00:15:38,570 --> 00:15:44,480 Get all the articles and you don't need to do this, so we only have passed our form, so if we have 167 00:15:44,480 --> 00:15:49,670 our form here, that means inside here we're able to get you able to get the other. 168 00:15:49,690 --> 00:15:56,510 But just by doing maybe let all the pictures in, because we have this form up here, we can do form 169 00:15:56,510 --> 00:15:58,130 dot, dot, dot. 170 00:15:58,160 --> 00:16:00,320 I hope you remember some of these things. 171 00:16:00,830 --> 00:16:03,770 And then we are we are going to do all the. 172 00:16:04,850 --> 00:16:10,460 And we are getting this over from is from our DOCTYPE, this field to remember the name of this field, 173 00:16:10,760 --> 00:16:13,730 it's over so we can go ahead and do that. 174 00:16:14,060 --> 00:16:20,360 And if we need this, we can just do something like consult not long just to make sure that we are getting 175 00:16:20,360 --> 00:16:23,340 our order here, maybe something like that. 176 00:16:23,930 --> 00:16:28,000 I have inside operations with me do some formatting into my code here. 177 00:16:28,700 --> 00:16:33,370 Then the only thing I need to do here, because remember this is JavaScript and runs on the front end. 178 00:16:34,580 --> 00:16:40,790 We just need to control, shift, reload and we see whether this works or maybe something is breaking 179 00:16:40,790 --> 00:16:42,920 and looks like everything is working. 180 00:16:43,250 --> 00:16:48,050 And we have our button added here with with a group of action. 181 00:16:48,530 --> 00:16:56,090 And here we have get other articles and we need to inspect so that we can see whether it is logging 182 00:16:56,420 --> 00:16:58,800 the name of the other Sorbo. 183 00:16:59,120 --> 00:17:02,180 And yes, we have the other Jofre Karani. 184 00:17:02,180 --> 00:17:03,800 I don't know what they need to increase their font. 185 00:17:04,870 --> 00:17:12,070 So it's actually increasing and it's increasing there, so we have Jeffrey Karenni here another no no, 186 00:17:12,070 --> 00:17:15,340 that means we are ready to start writing our API. 187 00:17:15,370 --> 00:17:17,550 Now, remember the API? 188 00:17:17,560 --> 00:17:19,330 Where are we going to be writing this API? 189 00:17:19,570 --> 00:17:23,170 The API can sit anywhere where you have chosen. 190 00:17:23,830 --> 00:17:28,150 But remember, it is advice that you put these things on a file that you have control of. 191 00:17:28,150 --> 00:17:35,040 I don't put it on an ERP next file so we can maybe reuse their file for the file that we had here yesterday. 192 00:17:36,070 --> 00:17:41,350 So utils, but this one, you can put it in any other fire, you can even decide to create your own 193 00:17:41,350 --> 00:17:46,780 file and put it inside, we can use what we had here yesterday so we can go down here and define our 194 00:17:46,780 --> 00:17:47,340 function. 195 00:17:47,950 --> 00:17:58,030 So we find a function that you're going to get to go get maybe out and then books, books about articles 196 00:18:00,880 --> 00:18:02,260 and this function. 197 00:18:04,310 --> 00:18:10,490 It other articles in this function is going to run on Esquibel, so maybe this is what you are asking 198 00:18:10,490 --> 00:18:17,120 sometimes about whether you are going to look into more esquibel so you can do something like articles 199 00:18:18,010 --> 00:18:21,650 because frappé, this is frappé. 200 00:18:21,650 --> 00:18:23,710 Don't repeat, don't ask. 201 00:18:23,720 --> 00:18:24,170 You will. 202 00:18:24,770 --> 00:18:30,130 So here you are writing rescuable and then yeah, you need to provide six quotes. 203 00:18:30,130 --> 00:18:34,010 So 123456 that you're not šemeta here. 204 00:18:34,040 --> 00:18:42,890 You need to write our query so we can do select all for now we can just select all from and the name 205 00:18:42,890 --> 00:18:49,330 of our, the name of our people, the people that has our articles, estaba articles. 206 00:18:49,760 --> 00:18:50,660 We can copy that. 207 00:18:51,200 --> 00:18:56,420 And because this thing has our space in between here, if we leave it like this, it's going to give 208 00:18:56,420 --> 00:18:57,110 us problems. 209 00:18:57,590 --> 00:19:02,290 So we need to add batiks to tell Esquibel that this this thing should be treated as one. 210 00:19:03,260 --> 00:19:08,690 And then remember, the next thing that we need to do here is to tell this thing, to get resodding. 211 00:19:08,690 --> 00:19:14,030 Ask because I don't know whether you speak, because I don't know that you remember why you are doing 212 00:19:14,030 --> 00:19:14,420 this. 213 00:19:14,900 --> 00:19:21,560 If you do if you do remember, you can you can answer that question later and now we can just go ahead 214 00:19:21,560 --> 00:19:25,910 and respond to written articles. 215 00:19:27,160 --> 00:19:27,850 That's it. 216 00:19:27,870 --> 00:19:36,010 So if we want to that this thing is working within our application even before before we try to assist 217 00:19:36,020 --> 00:19:41,460 it with our with our call here, we can we can go to our we can go to our Broza. 218 00:19:42,900 --> 00:19:46,020 This is our instance, we can copy we can copy this. 219 00:19:46,920 --> 00:19:48,690 And open a new tab. 220 00:19:49,680 --> 00:19:57,620 This is just one of our favorite of our, for instance, and then here you need to add Ippei slash method 221 00:19:58,410 --> 00:20:05,790 and then you provide appropriate path to other function and that path to your function. 222 00:20:05,820 --> 00:20:09,690 So if you remember here in the whoops fight, we hit this path somewhere. 223 00:20:10,410 --> 00:20:12,990 We ran we ran this thing a number of times. 224 00:20:12,990 --> 00:20:14,480 I don't know what I'll be able to trace it. 225 00:20:14,970 --> 00:20:19,680 Yeah, we had these, for instance, you suggest that you are doing at library here Dunwoody's yesterday 226 00:20:19,680 --> 00:20:20,820 or the day before yesterday. 227 00:20:21,120 --> 00:20:29,460 And because we have our our our our our panel here, we can copy this and really just change the function 228 00:20:29,460 --> 00:20:31,500 name so we can go here. 229 00:20:32,930 --> 00:20:40,220 Is next to a broza, and then we'll need to add the function that we are calling here to Diso, our 230 00:20:40,220 --> 00:20:46,730 function to this, get all the articles and copy that and I'll put it here and then I'll try to run 231 00:20:46,730 --> 00:20:48,030 it if you want to get. 232 00:20:48,290 --> 00:20:53,270 So here we are being told our function is being reached, but we have an issue here is telling us it's 233 00:20:53,270 --> 00:20:54,100 not permitted. 234 00:20:54,140 --> 00:20:55,700 I don't know whether someone has a reason. 235 00:20:55,710 --> 00:20:59,360 I don't know whether anyone can tell us why this thing is not permitted. 236 00:20:59,600 --> 00:21:00,220 Who knows why? 237 00:21:04,230 --> 00:21:09,730 You have to whitelist your method, yes, worthless, this great, great, great. 238 00:21:09,750 --> 00:21:13,380 So is we have to we have to get rid of this thing. 239 00:21:13,380 --> 00:21:17,550 So we have to do frappé don't wait list. 240 00:21:18,450 --> 00:21:20,220 And now we have that here. 241 00:21:20,220 --> 00:21:23,880 We are supposed to probably get our dictionary. 242 00:21:23,880 --> 00:21:27,140 And yes, this data is coming from our table here. 243 00:21:27,780 --> 00:21:28,320 So great. 244 00:21:28,330 --> 00:21:30,030 So we have it here now. 245 00:21:30,210 --> 00:21:31,620 We want it to pass. 246 00:21:32,040 --> 00:21:39,090 We want it to pass to pass this thing and query only we are we only we are. 247 00:21:39,120 --> 00:21:41,970 The other is a specific one. 248 00:21:41,970 --> 00:21:43,430 We do not want to get everything. 249 00:21:44,070 --> 00:21:45,930 So how are we going to write that? 250 00:21:45,930 --> 00:21:54,740 So in our query here, we can do we can add our condition and we see we are hoping that, you know, 251 00:21:54,740 --> 00:21:56,580 our database, we have order. 252 00:21:57,150 --> 00:22:00,390 So let's check what we have in the database. 253 00:22:00,390 --> 00:22:01,710 So we do. 254 00:22:01,710 --> 00:22:10,140 Yeah, we have all that so we can do where all the requests and then we have that. 255 00:22:10,140 --> 00:22:12,910 And then in our function here, remember, we need it. 256 00:22:12,930 --> 00:22:19,230 We need we need to pass this or that because it's something dynamic so we can even call that other than 257 00:22:19,230 --> 00:22:23,340 this is what is going to go into this. 258 00:22:23,850 --> 00:22:27,840 And because this is a formatted string, you see it's not identifying this one properly. 259 00:22:28,230 --> 00:22:32,940 So we need to treat this as a formatted string by adding on if this is Python three. 260 00:22:33,660 --> 00:22:34,740 So that is done. 261 00:22:35,370 --> 00:22:41,670 And now if you try to access this function, we can do that so that when people maybe have these issues, 262 00:22:41,670 --> 00:22:43,860 they they remember what we what we did. 263 00:22:44,370 --> 00:22:48,180 If we go back here and try to access, we are going to have an issue. 264 00:22:48,180 --> 00:22:53,210 And the issue is letting us that get this is what is missing our required parameter. 265 00:22:53,730 --> 00:23:00,810 We are having this issue because ideally our function here is fixed on over and we are not able to pass 266 00:23:00,810 --> 00:23:03,750 that order from the front end from this. 267 00:23:03,930 --> 00:23:05,150 We have not passed anything. 268 00:23:05,820 --> 00:23:12,750 So remember, if this was not mandatory, if you pass to here, none of this is going to allow is going 269 00:23:12,750 --> 00:23:14,210 to allow, OK. 270 00:23:15,520 --> 00:23:18,600 And do that, and then here I'm going to pass it on. 271 00:23:19,960 --> 00:23:25,420 You know, when this is done, this will mean will get this function that you do not need to force users 272 00:23:25,420 --> 00:23:29,590 to enter the order so you can go ahead and try to query even without that order. 273 00:23:30,220 --> 00:23:33,910 So if you go ahead and refresh this now, we are going to get our message back. 274 00:23:34,300 --> 00:23:41,590 But it is empty ideally because we are trying to get to this thing with the other, not having said 275 00:23:41,600 --> 00:23:42,020 anyone. 276 00:23:43,060 --> 00:23:44,350 So that's it. 277 00:23:44,380 --> 00:23:50,650 Now, we should be able to go back to our front end here and call our method here the one that we have 278 00:23:50,650 --> 00:23:57,220 written and populate this field here or this variable with the appropriate of a name. 279 00:23:57,490 --> 00:24:03,220 And then this is why this will go ahead and query the database and return our articles that belong to 280 00:24:03,220 --> 00:24:04,240 that particular order. 281 00:24:04,690 --> 00:24:08,350 So what we do there is something called for a protocol. 282 00:24:08,800 --> 00:24:11,440 I'm sure I mentioned this earlier. 283 00:24:12,580 --> 00:24:17,590 Frappier dot com is like Ajax in in other in other languages. 284 00:24:17,590 --> 00:24:22,940 You can decide to use Ajax and maybe something like Dangote, something like Laravel in other other 285 00:24:22,960 --> 00:24:25,760 languages for replaces that. 286 00:24:25,990 --> 00:24:32,830 So when you do this, this thing is able to go back and call an API that you have written, query that 287 00:24:32,830 --> 00:24:40,690 data and return it to your front end without necessarily rerouting your page so we can copy this code 288 00:24:40,930 --> 00:24:41,680 like that. 289 00:24:43,930 --> 00:24:48,670 And then you are going to place this code after after our function, after our variable here so we can 290 00:24:48,670 --> 00:24:51,130 just remove this console log. 291 00:24:51,640 --> 00:24:54,270 And here we put our tropical. 292 00:24:54,850 --> 00:24:59,560 And remember, this one actually is telling you, this is from the documentation is telling us that 293 00:24:59,560 --> 00:25:01,810 this is a dotted path to our method. 294 00:25:02,080 --> 00:25:03,460 So we can just remove that. 295 00:25:03,730 --> 00:25:07,750 And now we know that we are supposed to provide a path to our method here. 296 00:25:08,260 --> 00:25:12,340 Now, this is what I needed to point out to the if you are adding this thing. 297 00:25:13,320 --> 00:25:20,660 To within your application, like here now, you do not need you see what we did here? 298 00:25:20,670 --> 00:25:21,390 We did. 299 00:25:21,870 --> 00:25:24,600 We did not there we were here. 300 00:25:24,810 --> 00:25:32,550 We did apply that method, then adopted the path to our to our method or to our function when we are 301 00:25:32,550 --> 00:25:35,460 copying this thing because we are doing this only for test. 302 00:25:35,940 --> 00:25:41,220 When you are popping this thing to put it into a JavaScript code, you do not need to copy API and Method 303 00:25:41,700 --> 00:25:46,200 Hibiya method here to tell you to tell other applications outside. 304 00:25:46,470 --> 00:25:53,190 We are exactly to access this this others get other function, get other articles function from. 305 00:25:53,730 --> 00:25:58,110 But if it is within your application just copy the dotted path only dot. 306 00:25:58,440 --> 00:25:59,790 And that is what you see here. 307 00:25:59,790 --> 00:26:00,590 We have Strache. 308 00:26:00,870 --> 00:26:05,820 So with this API slash method slash then from here it's adopted. 309 00:26:05,830 --> 00:26:10,910 So after the library management we have dot utils dot, then the name of the function. 310 00:26:11,250 --> 00:26:13,860 Remember this could be long, a lot longer than this. 311 00:26:14,100 --> 00:26:19,260 So you just need to copy only from this function for this section going forward. 312 00:26:19,680 --> 00:26:21,030 That is what we need to place here. 313 00:26:21,030 --> 00:26:30,180 So just out there and now we have it here and now this is going to go ahead and call this function. 314 00:26:30,690 --> 00:26:35,490 But now the issue is how are we going to parse this thing to this? 315 00:26:35,790 --> 00:26:39,690 Because I remember the last movie, I don't think whether you are passing any arguments. 316 00:26:40,290 --> 00:26:43,650 So how are you going to pass whatever arguments you have? 317 00:26:43,660 --> 00:26:50,130 You know, we need to pass order to this function so that when it hits our function here, we have these 318 00:26:50,130 --> 00:26:53,980 other populated and then we can query this with that particular order. 319 00:26:54,030 --> 00:26:55,050 How are you going to do that? 320 00:26:55,530 --> 00:27:03,330 And if it allows us to add arguments after this, just before after you have that, we have a that you 321 00:27:03,330 --> 00:27:05,120 can just come here to UGS. 322 00:27:05,160 --> 00:27:12,260 We are G.S. and then you can pass a dictionary of all the arguments that you need to pass to that. 323 00:27:12,600 --> 00:27:18,480 So we're going to come here and do something like that and then we pass in our order. 324 00:27:20,140 --> 00:27:21,590 This one is what we have here. 325 00:27:22,180 --> 00:27:28,930 So when we do this, this thing is going to be frappé is going to take this, it is going to treat this 326 00:27:29,350 --> 00:27:34,870 treated as an argument that is supposed to be passed to this particular method that we have here. 327 00:27:35,500 --> 00:27:42,340 So even if you had, like, multiple items, so if you had more than one one argument here to pass, 328 00:27:42,340 --> 00:27:48,640 you could just have added a comma and then you have another one, maybe like publisher and publisher 329 00:27:48,640 --> 00:27:53,880 and maybe you had a publisher up there so you can just copy and paste it there and that's it. 330 00:27:53,890 --> 00:27:56,740 You can put as many arguments as you want. 331 00:27:57,070 --> 00:28:02,950 And when they come here, they will be treated, they'll be treated as an ad, as Python ads, so you 332 00:28:02,950 --> 00:28:05,770 can access all of them from this place. 333 00:28:06,550 --> 00:28:09,010 So today we need to pass only one. 334 00:28:10,180 --> 00:28:16,180 And now when this thing goes back, goes back and does the quitting of the data is going to come with 335 00:28:16,180 --> 00:28:20,780 a callback function and whatever will be returned by this function will be. 336 00:28:21,520 --> 00:28:25,750 Up so we can leave this are all we can give it a different name like. 337 00:28:26,680 --> 00:28:33,430 Articles, so this thing is going to return articles, the articles that belong to the user or the other 338 00:28:33,550 --> 00:28:42,090 whose name we pass to the back end, and when we do hear console log, we are supposed and will again 339 00:28:42,180 --> 00:28:44,910 we look our our our articles here. 340 00:28:45,340 --> 00:28:49,430 If this is a test, we are supposed to see these articles on our console. 341 00:28:50,080 --> 00:28:52,440 So let's go ahead and try to do that. 342 00:28:52,600 --> 00:28:54,040 So we got back here. 343 00:28:54,040 --> 00:28:55,780 We reload conclusive. 344 00:28:55,900 --> 00:28:59,320 Are you sure this is going to load? 345 00:28:59,320 --> 00:29:01,810 If we have an issue, this page is not actually going to work. 346 00:29:02,380 --> 00:29:06,910 So we clear this and now we go here and try to get all the articles. 347 00:29:07,240 --> 00:29:12,000 And you can see this thing has logged for an array and this larger. 348 00:29:12,310 --> 00:29:14,440 We have an array with six items. 349 00:29:14,450 --> 00:29:21,310 So if I open it, we have a message here and we have these articles that have been logged here from 350 00:29:21,310 --> 00:29:21,970 our database. 351 00:29:22,300 --> 00:29:28,630 So this ones, if I open over another, is another bitchier. 352 00:29:29,660 --> 00:29:34,640 With call articulable the least. 353 00:29:36,430 --> 00:29:43,600 We all that we had here is Joffre Karani, and that is why you see here we have quite a number of articles 354 00:29:43,600 --> 00:29:44,790 one, two, three, four. 355 00:29:44,800 --> 00:29:45,490 You can count them. 356 00:29:45,490 --> 00:29:48,910 I'm sure there are six that belong to that particular order. 357 00:29:49,240 --> 00:29:52,390 And this article, remember, we told it to quit everything. 358 00:29:52,390 --> 00:29:59,800 So we have it has returned us everything that is inside our table, everything that is inside this table 359 00:30:00,280 --> 00:30:02,260 has been returned to us here. 360 00:30:02,260 --> 00:30:05,940 So we can be able to access this data now and do whatever we want to do with it. 361 00:30:06,400 --> 00:30:12,700 How about how about we go to another article, maybe this one written by this user, open it. 362 00:30:13,240 --> 00:30:15,370 And here it would have a button. 363 00:30:16,520 --> 00:30:23,420 I can make this to, too, so they can see this button and then I get other articles and here we see 364 00:30:23,420 --> 00:30:25,540 we have an array with three items. 365 00:30:26,000 --> 00:30:28,220 So this user has three. 366 00:30:28,760 --> 00:30:31,750 And we can see here we have Richard Woodward. 367 00:30:31,970 --> 00:30:33,560 So this user has three of them. 368 00:30:33,560 --> 00:30:35,450 We can again see the user here. 369 00:30:35,630 --> 00:30:37,190 The other here is this user. 370 00:30:37,460 --> 00:30:38,090 The first one. 371 00:30:38,090 --> 00:30:42,820 The second one is this other and the third one also is the other. 372 00:30:42,920 --> 00:30:44,510 So that's it. 373 00:30:44,880 --> 00:30:48,920 Let me know whether someone has an equation regarding what we have done here so far. 374 00:30:53,990 --> 00:31:01,390 Yes, Karen, you have a question or OK, let me ask first. 375 00:31:01,820 --> 00:31:09,260 My question now in your frappé, that call, OK, if you put the method, the dotted path to do your 376 00:31:09,260 --> 00:31:17,440 functions, then arts and the arts, you put the author, author, first author, first author. 377 00:31:17,450 --> 00:31:25,580 It should be same name as your functions or you give any name you have any. 378 00:31:27,020 --> 00:31:32,910 Order is important, so here the one yeah, this is knackers. 379 00:31:34,120 --> 00:31:42,450 I mean, the first hour, the first hour is your first barometer in your function, is it mapping by 380 00:31:42,460 --> 00:31:42,970 order? 381 00:31:43,000 --> 00:31:44,470 How is this mapping ARGs? 382 00:31:46,330 --> 00:31:51,850 So so what is happening here, the first the first one here after the name, I can maybe Razmik Mascheroni, 383 00:31:52,660 --> 00:31:54,620 this one is just a key. 384 00:31:54,970 --> 00:31:57,630 This is what carries the variable that we have here. 385 00:31:58,060 --> 00:32:00,910 So it must not contain the same name you can call. 386 00:32:00,940 --> 00:32:03,480 It's just a key and very key and very pale. 387 00:32:05,680 --> 00:32:10,390 But in your function, or at least it function in my function here. 388 00:32:10,810 --> 00:32:11,410 Yes. 389 00:32:12,690 --> 00:32:18,710 So in my presence here, if you have three, if you have three, three parameters. 390 00:32:19,290 --> 00:32:19,470 Uh. 391 00:32:20,590 --> 00:32:25,030 So first I will go to the first parameter, second for second. 392 00:32:25,420 --> 00:32:27,400 Like this by order. 393 00:32:29,360 --> 00:32:32,300 Yeah, by default is going to it like that. 394 00:32:32,720 --> 00:32:38,190 So if you pass them here, like three of them is going to take them in in that order. 395 00:32:39,140 --> 00:32:45,320 If you do not, maybe if you don't know the order or because sometimes you may be writing our software, 396 00:32:45,320 --> 00:32:48,270 we don't know the or the order that these things will come in. 397 00:32:48,650 --> 00:32:53,750 What you do is that you just pass them and then here, instead of passing in the function, instead 398 00:32:53,750 --> 00:32:57,110 of passing on them, you're going to pass in the queue at argument. 399 00:32:57,140 --> 00:33:04,580 So you can just come here to something like I just thought, and this is not going to get those things 400 00:33:04,580 --> 00:33:08,180 with regardless of the order that you're going to pass here. 401 00:33:09,080 --> 00:33:14,600 But if you're not a like for instance, in our case, if I wanted to pass the order and the publisher 402 00:33:14,830 --> 00:33:20,750 and whatnot and you know, that order is not going to change, you can pass them here and then you receive 403 00:33:20,750 --> 00:33:23,080 them from your function in that order. 404 00:33:24,720 --> 00:33:29,450 Can you add another parameter, for example, author and another parameter? 405 00:33:29,760 --> 00:33:33,100 Let me add here, Lisa. 406 00:33:33,270 --> 00:33:36,980 I don't know whether we have publishers and the publisher. 407 00:33:37,200 --> 00:33:45,870 We are going to say this is going to get this from our publisher and then here, let go this order and 408 00:33:45,930 --> 00:33:48,020 then here we are going to pass another one. 409 00:33:48,030 --> 00:33:55,370 And this is going to carry publisher, publisher, and then that's it. 410 00:33:55,380 --> 00:33:59,010 When we come here, what we're going to do, just add a comma. 411 00:34:00,400 --> 00:34:02,500 Here again, we are the publisher. 412 00:34:04,180 --> 00:34:09,700 And it is I think I have it published and we can also allow this to be done if we do not need it to 413 00:34:09,700 --> 00:34:11,780 be mandatory or we can leave it blank. 414 00:34:12,250 --> 00:34:16,240 So let me do here print. 415 00:34:17,500 --> 00:34:18,150 Print. 416 00:34:19,940 --> 00:34:22,700 And then here we do publisher. 417 00:34:23,690 --> 00:34:31,820 Maybe we can do we can do something like this without these printing machines, have a publisher comes 418 00:34:31,820 --> 00:34:35,550 in to save it and we need to observe this. 419 00:34:35,570 --> 00:34:37,160 Let me make it a little bit. 420 00:34:37,760 --> 00:34:40,790 You have you have to add in the condition. 421 00:34:42,400 --> 00:34:44,980 Publisher with condition. 422 00:34:46,210 --> 00:34:51,900 In your school condition, I just wanted to put it all you need to ask to carry this. 423 00:34:51,920 --> 00:34:56,200 I just wanted us to print it here so that we see what ideas we received here. 424 00:34:57,970 --> 00:35:04,090 Anyhow, my main point is to put the word condition in the word condition. 425 00:35:04,940 --> 00:35:10,790 OK, OK, OK, just give me a sec and leave out of whatever that is received, then we can put it in 426 00:35:10,790 --> 00:35:16,940 the air condition, so print out and it is not my sarva. 427 00:35:19,980 --> 00:35:23,400 Then and then this one again, I say it from from here. 428 00:35:26,060 --> 00:35:27,480 We had it all here. 429 00:35:27,510 --> 00:35:31,910 Yeah, so I can erode this and then I come back here. 430 00:35:33,100 --> 00:35:35,530 Oh, sorry, this is supposed to be a formatted string. 431 00:35:38,270 --> 00:35:39,230 What it's string. 432 00:35:40,980 --> 00:35:48,160 So we loaded and we have that particular one doesn't have a publisher, let's see. 433 00:35:48,200 --> 00:35:49,010 Oh yeah, OK. 434 00:35:49,020 --> 00:35:50,290 Yeah, I sure is getting it. 435 00:35:50,460 --> 00:35:53,670 So let's let's let's add this into our into our function. 436 00:35:54,210 --> 00:36:00,060 We can get we can do we are maybe publisher equals publisher. 437 00:36:01,050 --> 00:36:04,350 So we want to query the publisher is a particular one. 438 00:36:04,680 --> 00:36:10,460 Let's go back to our documents and see whether there is one with a publisher publishing on it. 439 00:36:10,710 --> 00:36:12,220 What about this one. 440 00:36:12,240 --> 00:36:12,840 Maybe we can. 441 00:36:12,840 --> 00:36:19,260 I know we have a published report, Macmillan Knock Me Out so we can try that, save it. 442 00:36:20,450 --> 00:36:22,800 And then we go up here, check. 443 00:36:23,820 --> 00:36:26,460 We our are is coming back with nothing. 444 00:36:27,240 --> 00:36:29,920 So what we can do here. 445 00:36:31,080 --> 00:36:34,880 Let's let's just try to return publisher here. 446 00:36:35,340 --> 00:36:36,330 We see what we have. 447 00:36:37,340 --> 00:36:39,350 So I rewrote this document. 448 00:36:44,810 --> 00:36:53,420 You know, this document and then check India, we have our publisher was received in the in the court 449 00:36:53,420 --> 00:36:55,320 in the function and it's being written here. 450 00:36:56,090 --> 00:37:02,320 So if you need to return, maybe the publisher and the publisher and the other. 451 00:37:02,450 --> 00:37:03,780 So, you know, we have both. 452 00:37:04,130 --> 00:37:08,060 If I if I press this one here and I wrote my document. 453 00:37:10,510 --> 00:37:18,040 I wrote my document and then I access my function like that, this one is going to return what it has 454 00:37:18,040 --> 00:37:18,460 nothing. 455 00:37:19,720 --> 00:37:20,410 Joffrey 456 00:37:24,190 --> 00:37:25,300 Gitano, the. 457 00:37:28,160 --> 00:37:31,120 So we have order there, you have publisher. 458 00:37:32,970 --> 00:37:42,630 Although we have publisher other for the story, it's our own in order like that story a little bit. 459 00:37:44,230 --> 00:37:52,320 We are then we access it, and yes, we have Joffre Giuffre Garani, so our other both the other and 460 00:37:52,320 --> 00:37:55,440 the publisher are being received by our function here. 461 00:37:57,450 --> 00:37:59,080 I don't know whether that answers your question. 462 00:38:02,090 --> 00:38:08,320 Yes, yes, so you order in the arts, the order is important, right? 463 00:38:09,250 --> 00:38:09,690 Yes. 464 00:38:09,790 --> 00:38:15,250 So whatever name you buzz here as the key is what you are going to have is what you are going to have 465 00:38:15,290 --> 00:38:18,080 with it on your function, on your function here. 466 00:38:18,100 --> 00:38:23,560 That is what you are going to receive the same way that you are going to see when you when you are accessing 467 00:38:23,560 --> 00:38:26,070 this thing from an external application. 468 00:38:26,470 --> 00:38:27,540 You have to pass this. 469 00:38:27,580 --> 00:38:29,530 This is the key keys and values. 470 00:38:29,980 --> 00:38:31,670 You have to pass it in this order. 471 00:38:31,700 --> 00:38:32,150 Order. 472 00:38:32,200 --> 00:38:37,180 So all the publisher then here you have to give them the keys, must match then the same. 473 00:38:37,480 --> 00:38:40,480 But the variable here is what you defined up here. 474 00:38:41,810 --> 00:38:47,120 OK, yes, so we have a question from Yes. 475 00:38:50,220 --> 00:38:56,760 Yes, hello, Karenni, I will, uh, something a link in the chat, if you can open it. 476 00:38:58,540 --> 00:38:59,220 Yes. 477 00:39:01,460 --> 00:39:02,550 It's kind of OK. 478 00:39:03,490 --> 00:39:15,080 OK, so this is documentation about the Frédérique all we just did, if you years is out there, if 479 00:39:15,080 --> 00:39:18,350 you scroll completely down, there's the white list. 480 00:39:18,350 --> 00:39:20,050 We just did an example of this. 481 00:39:20,420 --> 00:39:29,440 But if you go back up a little bit, you will see the standard API just go up again, this one. 482 00:39:30,140 --> 00:39:37,340 So I don't know if you are planning to show this later on, but I would like to for you to make the 483 00:39:37,610 --> 00:39:39,380 same example we just did. 484 00:39:39,380 --> 00:39:43,850 But use that one instead of calling our whitelist method. 485 00:39:44,480 --> 00:39:45,470 OK, use this one. 486 00:39:45,500 --> 00:39:46,210 OK, ok. 487 00:39:46,550 --> 00:39:47,020 OK. 488 00:39:47,070 --> 00:39:49,040 Mummy noted that you are going to look at that. 489 00:39:49,440 --> 00:39:51,310 OK, ok. 490 00:39:51,680 --> 00:39:53,960 Because you take a link link. 491 00:39:54,260 --> 00:39:55,100 Share the link. 492 00:39:56,030 --> 00:39:57,140 I got the link. 493 00:39:57,150 --> 00:39:57,530 OK. 494 00:39:57,710 --> 00:39:59,620 The only thing that. 495 00:40:02,240 --> 00:40:06,310 The point is how to do calling bystander API, right? 496 00:40:07,960 --> 00:40:14,100 Yeah, yeah, yeah, using our standard API to do the same thing that we have done here. 497 00:40:15,770 --> 00:40:17,610 So what is his question now? 498 00:40:18,710 --> 00:40:28,340 Me, what I wanted you to do the same example we just did, but using this standard API instead of using 499 00:40:28,340 --> 00:40:30,800 our custom white to function. 500 00:40:32,910 --> 00:40:40,770 The two areas get value, which is good therapy, clients that get it is a standard API. 501 00:40:40,780 --> 00:40:46,860 You are saying it's like a therapy dog eat dog world similar. 502 00:40:47,950 --> 00:40:49,640 That was that is my question. 503 00:40:49,660 --> 00:40:57,370 I think this one is used to query any duct tape and putting the filters without having to write code 504 00:40:57,370 --> 00:41:01,780 in Python, without having to write a whitelist admitted. 505 00:41:01,960 --> 00:41:07,720 This allows us to query any DOCTYPE with some filter to get it back in the client. 506 00:41:07,750 --> 00:41:14,590 So I just wanted to do an example with this one because it looks interesting to to see this functionality. 507 00:41:15,640 --> 00:41:16,730 Yeah, yeah, yeah. 508 00:41:16,870 --> 00:41:19,450 Oh, you want to do it offline karani. 509 00:41:19,450 --> 00:41:20,330 Not now, right. 510 00:41:21,190 --> 00:41:21,850 Yeah, not now. 511 00:41:21,860 --> 00:41:24,930 We this we are going to do it maybe. 512 00:41:24,940 --> 00:41:25,840 Maybe tomorrow. 513 00:41:26,390 --> 00:41:26,930 OK. 514 00:41:27,440 --> 00:41:27,770 Yeah. 515 00:41:27,820 --> 00:41:31,970 Notice we are went to help with this thing I noted down. 516 00:41:32,650 --> 00:41:32,960 OK. 517 00:41:33,530 --> 00:41:34,170 OK you. 518 00:41:34,310 --> 00:41:34,540 No. 519 00:41:35,970 --> 00:41:39,880 Good, so in one operation, kind of. 520 00:41:43,750 --> 00:41:53,240 Now, now I have a question Karani now with this Abai, this API, which you did now in the utilities. 521 00:41:54,650 --> 00:42:01,610 Yes, first of all, API is using Python only know JavaScript, the API. 522 00:42:03,660 --> 00:42:10,380 Now, what is showing here that there could be this could we have here this is going to do everything 523 00:42:10,380 --> 00:42:12,720 without necessarily having to write anything on Python? 524 00:42:14,600 --> 00:42:23,300 So if you want to overall JavaScript, we will not write the API using JavaScript. 525 00:42:26,050 --> 00:42:29,740 Well, I don't know if I'm getting your question. 526 00:42:30,440 --> 00:42:30,810 Uh. 527 00:42:32,160 --> 00:42:34,590 What do you mean, like my question now? 528 00:42:34,920 --> 00:42:35,890 You're right. 529 00:42:36,060 --> 00:42:39,270 Go back to the utilities that pay is. 530 00:42:39,480 --> 00:42:45,960 Yes, so it is that by here you are writing this whitelist functions. 531 00:42:45,960 --> 00:42:47,500 Get other articles. 532 00:42:48,180 --> 00:42:48,710 Yes. 533 00:42:49,170 --> 00:42:53,310 So this is your engine, your API engine, correct? 534 00:42:53,760 --> 00:42:54,150 Yeah. 535 00:42:54,150 --> 00:42:58,080 So you you cannot do similar with JavaScript. 536 00:42:59,310 --> 00:43:08,310 Within your next of rapid, yes, no, you cannot you cannot do that basically because JavaScript in 537 00:43:08,580 --> 00:43:12,930 therapy is treated as a front end, front end technology. 538 00:43:13,620 --> 00:43:17,230 What they are using for backend and Epper stuff is Python. 539 00:43:17,930 --> 00:43:20,450 OK, yeah, OK. 540 00:43:20,460 --> 00:43:25,080 Now this this function get offered articles. 541 00:43:25,670 --> 00:43:29,600 This is the API if someone ask. 542 00:43:30,880 --> 00:43:33,070 What is API name? 543 00:43:33,280 --> 00:43:40,110 What is the name of that API, so I should tell him so the name is get other articles, right? 544 00:43:40,830 --> 00:43:41,220 Correct. 545 00:43:41,710 --> 00:43:43,840 Actually, this is the API. 546 00:43:44,320 --> 00:43:51,400 As you said earlier, as you said earlier, you said API is internal and external. 547 00:43:51,490 --> 00:43:57,260 This is this is between modules inside inside the Phoenix. 548 00:43:57,300 --> 00:43:57,580 Right. 549 00:43:58,750 --> 00:44:03,040 So now the beauty of writing this, this happens here. 550 00:44:03,520 --> 00:44:11,860 This API can be used by both Salt Lake now and we do when we do, the one we have here is going to be 551 00:44:11,860 --> 00:44:16,960 able to be used data from our JavaScript function here on the front end. 552 00:44:17,230 --> 00:44:20,770 And also we can access it using other external applications. 553 00:44:21,340 --> 00:44:26,740 That's the beauty, the one that we are going to see tomorrow, the one that you are requested here. 554 00:44:27,070 --> 00:44:29,790 This one is only going to sit on the script event. 555 00:44:30,040 --> 00:44:35,710 So when we write it here, is going only to do is going to do the recording of whatever it is doing 556 00:44:35,710 --> 00:44:36,030 here. 557 00:44:36,310 --> 00:44:41,410 So it's going to sit here and there will not be accessible by any other applications, maybe something 558 00:44:41,410 --> 00:44:43,170 like a mobile app outside. 559 00:44:43,810 --> 00:44:51,250 But when you have apps here on the on the back end, they can be accessed by basically any application 560 00:44:51,250 --> 00:44:52,150 from whatever the. 561 00:44:53,260 --> 00:45:03,430 OK, so now earlier you put a Web page browser, then you put IP and the API method. 562 00:45:04,360 --> 00:45:05,470 Yes, this one. 563 00:45:05,980 --> 00:45:07,880 Yeah, yeah, yeah, this this one. 564 00:45:07,900 --> 00:45:09,700 Yes, yes, this is it. 565 00:45:09,700 --> 00:45:14,690 Different from Bustamente, they say what we have here. 566 00:45:15,260 --> 00:45:16,940 Yes they are. 567 00:45:16,940 --> 00:45:23,350 All we have here is exactly what we are going to use on Postman, because ideally, ideally, like not 568 00:45:23,350 --> 00:45:25,090 these the occasional day to answer your mummy. 569 00:45:25,090 --> 00:45:26,830 You asked me the name about it. 570 00:45:27,010 --> 00:45:34,340 If someone asks you about the name of the the name of the name of the apes is what we have here like. 571 00:45:34,420 --> 00:45:38,220 No, ours is get all the articles most of the time. 572 00:45:38,230 --> 00:45:44,440 If you are working with that team, maybe you have people doing the APIs and then you integrating this 573 00:45:44,440 --> 00:45:49,570 with something like a mobile app, you're going to get questions like what is the API endpoint? 574 00:45:51,310 --> 00:45:57,040 People want to know what is the endpoint of getting all the articles written by. 575 00:45:57,140 --> 00:46:04,840 And so the endpoint that you are supposed to provide to your front end developer is this one. 576 00:46:05,860 --> 00:46:10,930 Everything here from the you are there to the FBI method, then they do that part to your function. 577 00:46:10,960 --> 00:46:13,390 This is the end point that you are supposed to provide. 578 00:46:15,280 --> 00:46:20,800 OK, my question, this Web browser and postmen, they are same or different. 579 00:46:22,220 --> 00:46:22,970 A different. 580 00:46:25,360 --> 00:46:33,340 They're different, so when we put I just opened the postman and I have copied so now Mummy, you know, 581 00:46:33,340 --> 00:46:40,990 this is this is this is now in the D.A. in the accessing of the APHC that with external applications. 582 00:46:41,620 --> 00:46:43,630 So posthuman is one of them. 583 00:46:43,630 --> 00:46:45,400 But the money just used for testing. 584 00:46:45,970 --> 00:46:52,330 So what they what the postman asked me to provide it is the entry points. 585 00:46:53,200 --> 00:46:58,640 Then I provide the I provide the, the function, whether it is geto postal or whatever. 586 00:46:58,990 --> 00:47:04,780 So in our case, because we want to get a data, this is a great function and then we provide the end 587 00:47:04,780 --> 00:47:05,200 point. 588 00:47:05,560 --> 00:47:11,160 And when you try to say to this just what we have, see what we have on the browser here, we have our 589 00:47:11,180 --> 00:47:11,550 message. 590 00:47:11,740 --> 00:47:15,760 This one is already trying to access our is already trying to access our data. 591 00:47:16,210 --> 00:47:19,270 So this is why I'm saying it's different, even though we have copied. 592 00:47:19,480 --> 00:47:20,890 Not when we I sent this. 593 00:47:20,890 --> 00:47:26,410 Now you see it on post when we get an error and it is telling us that we are not permitted. 594 00:47:28,020 --> 00:47:33,570 So when we come back to our browser here, we load this one is what it looks like, it's working only 595 00:47:33,570 --> 00:47:35,170 that there is no data inside it. 596 00:47:35,580 --> 00:47:39,750 So in our on our browser, it is allowed, but on posthuman. 597 00:47:39,750 --> 00:47:40,860 It is not allowed. 598 00:47:41,460 --> 00:47:44,200 There is on is on the browser here. 599 00:47:44,610 --> 00:47:46,210 This is within our application. 600 00:47:46,230 --> 00:47:51,190 So this is using an API within a European. 601 00:47:51,330 --> 00:47:52,640 So the frappé ecosystem. 602 00:47:53,250 --> 00:47:59,940 But when you go to postwoman, the system is assuming that now, for instance, this is a mobile app 603 00:47:59,940 --> 00:48:04,930 that is trying to get data from our database and this is not part of us. 604 00:48:05,100 --> 00:48:06,260 So it is blocked. 605 00:48:07,080 --> 00:48:09,810 So as much as the the other is the same. 606 00:48:10,410 --> 00:48:17,520 What is needed for an external application to consume your APIs is different from what you need within 607 00:48:17,520 --> 00:48:18,270 your application. 608 00:48:19,110 --> 00:48:21,000 So there is different purpose. 609 00:48:21,010 --> 00:48:31,460 This browser is to test internal or internal ERP next APIs and Bustamente is to test external calls 610 00:48:31,830 --> 00:48:33,170 to our APIs. 611 00:48:34,330 --> 00:48:35,520 Yes, yes. 612 00:48:35,520 --> 00:48:35,910 Yes. 613 00:48:36,270 --> 00:48:37,400 Because yeah. 614 00:48:37,740 --> 00:48:39,600 Let me let me let me also say something. 615 00:48:39,600 --> 00:48:43,670 You see, we have we have again given this to return our articles. 616 00:48:44,280 --> 00:48:50,790 If we go to our browser, usually this is our instance and I click on action, look at what happens 617 00:48:50,790 --> 00:48:55,440 on the console and get get the dog documents you see here. 618 00:48:55,440 --> 00:48:57,000 Our application seems to be working. 619 00:48:57,000 --> 00:49:02,790 There's no issue is going back, getting our database of our articles and bringing them back. 620 00:49:03,660 --> 00:49:08,400 But when I tried to send this from my mobile app, this same endpoint is not working. 621 00:49:08,400 --> 00:49:09,120 It's complaining. 622 00:49:10,470 --> 00:49:10,890 Mm hmm. 623 00:49:12,220 --> 00:49:14,260 So that's the big difference. 624 00:49:15,550 --> 00:49:20,260 So now I don't know whether anyone knows why it is complaining on that when you try to assess it from 625 00:49:20,260 --> 00:49:24,900 an external application, we had we had looked at that earlier. 626 00:49:25,810 --> 00:49:28,040 I don't want to wait listed. 627 00:49:28,130 --> 00:49:31,120 No, it's not what it is. 628 00:49:32,530 --> 00:49:33,220 If we do not. 629 00:49:33,220 --> 00:49:36,690 If you do not or at least not even this one is not going to work. 630 00:49:36,700 --> 00:49:42,580 So if we clear this and we try to get you see us complaining, telling us is not permitted. 631 00:49:43,510 --> 00:49:47,440 So we have our function is at listed. 632 00:49:48,430 --> 00:49:57,800 But it is not watching who knows why talking, you didn't give a token and did nothing it. 633 00:49:57,980 --> 00:49:59,170 Yeah, yeah. 634 00:49:59,290 --> 00:50:04,750 So what we need to do here in this in the in this rapidly whiteflies. 635 00:50:05,650 --> 00:50:14,110 It's either we open this API to be accessible by external applications, by seeing, by allowing guests. 636 00:50:15,170 --> 00:50:17,520 Progressed in retreats to allow guests. 637 00:50:17,780 --> 00:50:23,970 So when we do that, both of these not going to occur so I can delete this query again. 638 00:50:24,020 --> 00:50:27,050 This is working and I can go to postwoman. 639 00:50:27,530 --> 00:50:29,570 But then we are going to have another issue here. 640 00:50:29,580 --> 00:50:30,190 Let me send. 641 00:50:30,290 --> 00:50:31,410 But this is a small one. 642 00:50:31,670 --> 00:50:33,950 You see how this works but gets nothing. 643 00:50:34,880 --> 00:50:40,170 The reason is, again, because we have not provided the query parameter. 644 00:50:40,820 --> 00:50:47,420 So if we do not if we did not have this line here, this is again going to complain and tell us that 645 00:50:47,420 --> 00:50:49,580 we are missing our required parameter. 646 00:50:49,610 --> 00:50:52,140 You see this missing Whitegate argument. 647 00:50:52,460 --> 00:50:55,130 So what we needed to pass here is in the pudding. 648 00:50:55,130 --> 00:50:56,330 We can pass our form. 649 00:50:56,780 --> 00:51:01,530 And with other remember, this is a key. 650 00:51:01,630 --> 00:51:04,060 Again, it has to be exactly what we have here. 651 00:51:04,940 --> 00:51:14,000 And then from there we do the other we can do different karani and then we send and. 652 00:51:14,930 --> 00:51:15,530 For the. 653 00:51:17,540 --> 00:51:19,580 Jeffrey Karani, do I have articles here? 654 00:51:19,760 --> 00:51:20,450 Let me take. 655 00:51:21,390 --> 00:51:22,500 Jeffrey Karani. 656 00:51:24,420 --> 00:51:26,130 Well, back to my postman or the. 657 00:51:27,600 --> 00:51:38,150 Based in musicological, they have spelled out the properly, so get out and paste here, and since 658 00:51:38,820 --> 00:51:41,160 I don't know, I'm getting getting an auditor who knows why. 659 00:51:45,340 --> 00:51:48,340 You're waitlisted function, go back to waitlisted. 660 00:51:50,280 --> 00:51:52,880 What is the condition that you are putting, publisher? 661 00:51:53,830 --> 00:52:02,370 Oh, yeah, sorry, yeah, this is why it's so publisher here is supposed to be all they supposed to 662 00:52:02,370 --> 00:52:02,880 be other. 663 00:52:03,090 --> 00:52:03,510 Thank you. 664 00:52:03,540 --> 00:52:04,220 Thank you so much. 665 00:52:04,440 --> 00:52:06,930 The reason so we are now is into this. 666 00:52:06,930 --> 00:52:08,190 We are get our data back. 667 00:52:11,100 --> 00:52:21,480 Yes, you get a good result now on accessing Ipis from within or from using other applications. 668 00:52:23,400 --> 00:52:32,980 So number four, number four is writing one second, writing custom API within their next ecosystem. 669 00:52:33,000 --> 00:52:37,010 This is we did this waitlisted functions. 670 00:52:37,050 --> 00:52:42,540 This is the API and five consuming custom API from other software applications. 671 00:52:43,410 --> 00:52:46,440 This is we call from Faustman, right? 672 00:52:47,700 --> 00:52:48,270 Yes. 673 00:52:48,540 --> 00:52:50,390 The is basically used for testing. 674 00:52:50,880 --> 00:52:56,370 So if a spacewalk on Monday are going to work on any other application that you like to use to consume 675 00:52:56,370 --> 00:53:00,810 this space, this is what you tell us to consume. 676 00:53:01,630 --> 00:53:02,820 Yeah, this is consuming. 677 00:53:02,820 --> 00:53:03,020 Yeah. 678 00:53:03,020 --> 00:53:04,380 Like I like using them. 679 00:53:06,540 --> 00:53:07,110 Using them. 680 00:53:07,500 --> 00:53:08,550 Like using basically. 681 00:53:10,170 --> 00:53:11,790 Anyone have a question please. 682 00:53:15,740 --> 00:53:16,860 Do you have questions? 683 00:53:18,650 --> 00:53:19,460 No question. 684 00:53:20,480 --> 00:53:22,790 Yes, you have question, Muhammad Ali is. 685 00:53:26,090 --> 00:53:27,440 So it is. 686 00:53:34,500 --> 00:53:37,890 Hamdani and me, we we don't hear you. 687 00:53:40,660 --> 00:53:41,630 We are not hearing. 688 00:53:42,550 --> 00:53:43,330 Can you hear me now? 689 00:53:43,900 --> 00:53:45,220 Yes, yes, no, it's OK. 690 00:53:46,570 --> 00:53:55,600 So what if we want to query data from external sources into Phoenix and to the querying from within 691 00:53:55,930 --> 00:54:01,500 the next hour if we have a Web site to provide some data? 692 00:54:05,260 --> 00:54:08,230 So what you are asking if you have another website. 693 00:54:09,240 --> 00:54:12,880 Yes, and we want to get data from that website to be next. 694 00:54:13,440 --> 00:54:13,830 Yes. 695 00:54:15,670 --> 00:54:22,250 Now, it depends one, but that one is of course, that one is now not not on hypnotizable. 696 00:54:22,960 --> 00:54:25,820 So I think we're going to look at this tomorrow. 697 00:54:25,840 --> 00:54:26,630 Yeah, we're books. 698 00:54:26,650 --> 00:54:28,110 Our books are there tomorrow. 699 00:54:28,570 --> 00:54:30,490 So depends. 700 00:54:30,760 --> 00:54:31,690 Highly depends. 701 00:54:31,720 --> 00:54:38,260 Because what you are going to be doing, let's say, for instance, you want to get data when an event 702 00:54:38,260 --> 00:54:38,840 occurs. 703 00:54:38,860 --> 00:54:43,690 Something like I have updated this document and saved it. 704 00:54:43,810 --> 00:54:48,610 Now I want something to happen or I want this thing to go into another application, get it out there 705 00:54:48,940 --> 00:54:49,960 and send it here. 706 00:54:50,260 --> 00:54:54,040 You're going to write books and the Fastweb within Europe next. 707 00:54:54,040 --> 00:54:55,070 We are going to see that tomorrow. 708 00:54:55,090 --> 00:54:55,840 How to do that? 709 00:54:56,590 --> 00:55:00,730 You can send it data from ERP next to external applications. 710 00:55:01,240 --> 00:55:07,270 And if you have another application, external application that needs to send data to Europe in next 711 00:55:07,270 --> 00:55:11,260 instance, you need to write a book on that other application. 712 00:55:15,650 --> 00:55:16,280 Mohammed. 713 00:55:20,890 --> 00:55:27,430 Yeah, but I think like, for example, if I wanted to get, for example, exchange rates, currency 714 00:55:27,430 --> 00:55:28,210 exchange rates. 715 00:55:29,330 --> 00:55:35,420 And so that I don't need to define every time, right, if I'm using multi-currency. 716 00:55:36,910 --> 00:55:45,540 And so looking OK, so if it's about if it's if it's about the currency exchange rates, they have an 717 00:55:45,540 --> 00:55:46,400 API, right? 718 00:55:48,380 --> 00:55:55,220 There is there is an API for exchange rates, yes, so what we need to do is ideally to consume that 719 00:55:55,220 --> 00:55:55,700 API. 720 00:55:55,700 --> 00:55:59,000 You query that API, maybe, maybe you can. 721 00:55:59,450 --> 00:56:05,810 What you can do is maybe write a job that maybe queries the API, like after every one minute the president 722 00:56:05,810 --> 00:56:07,420 updates the exchange rates. 723 00:56:08,120 --> 00:56:14,590 So you're going to to that API and then everything there is your Jubran it the official database with 724 00:56:14,600 --> 00:56:14,920 Enuka. 725 00:56:15,320 --> 00:56:18,230 You knew with the new new rates. 726 00:56:19,720 --> 00:56:27,880 So I did Libya is to is to is to study the documentation and to study the documentation and then use 727 00:56:27,880 --> 00:56:35,880 it within Europe next year, is it the scope of this training? 728 00:56:35,890 --> 00:56:43,390 Actually, we saw how to send data from here next to outside. 729 00:56:43,690 --> 00:56:53,080 OK, and if we have data outside and we want to consume it as we as Mohammed inside the European exchange 730 00:56:53,080 --> 00:56:54,540 rate, we are getting it. 731 00:56:54,580 --> 00:56:58,300 Is it an article in our agenda, next topic? 732 00:56:59,110 --> 00:57:00,280 Absolutely not. 733 00:57:00,280 --> 00:57:01,240 Absolutely not. 734 00:57:01,640 --> 00:57:03,400 Unless if it is requested. 735 00:57:03,730 --> 00:57:05,380 But that is completely out. 736 00:57:05,830 --> 00:57:08,320 So and a point of connection. 737 00:57:08,320 --> 00:57:10,870 We are not sending data yet. 738 00:57:11,560 --> 00:57:15,700 We have not sent data sending data is our Brooke. 739 00:57:17,230 --> 00:57:22,840 What we have done is consumed the data we are consuming, even with from posthuman, this data has not 740 00:57:22,840 --> 00:57:23,760 been sent anywhere. 741 00:57:23,770 --> 00:57:27,840 It is still within our instance, but we are we are accessing it. 742 00:57:28,090 --> 00:57:34,570 So when we pass this data point here and we clear consent, this thing goes, goes, goes to to get 743 00:57:34,570 --> 00:57:36,040 this data from our users. 744 00:57:36,040 --> 00:57:39,820 Whatever it is, we don't send any data out by now. 745 00:57:39,820 --> 00:57:41,890 Tomorrow we will be looking at Web hooks. 746 00:57:42,190 --> 00:57:48,370 We are actually going to send it data like for instance, if someone maybe saves a new article, we 747 00:57:48,370 --> 00:57:51,370 are going to get this data or whatever interested in it. 748 00:57:51,380 --> 00:57:57,010 They send it to another application that is that may be completely different from European. 749 00:57:57,580 --> 00:58:03,940 And that is why I am saying when you need to send that data outside completely sending it, you need 750 00:58:04,060 --> 00:58:06,300 to you need an ebook on both sides. 751 00:58:07,000 --> 00:58:12,910 So like now within from from our European citizens to another application, we can way to do that. 752 00:58:12,910 --> 00:58:19,030 And I will do that tomorrow if we need now to get maybe this from another system that somebody has made, 753 00:58:19,240 --> 00:58:20,560 maybe our banking system. 754 00:58:21,100 --> 00:58:27,760 And you need maybe every time someone makes a payment into the bank, you want to do all that data because 755 00:58:27,910 --> 00:58:28,990 the bank has a system. 756 00:58:29,380 --> 00:58:35,110 You want that data when it is updated on the banking system to reflect maybe a new accounting system 757 00:58:35,110 --> 00:58:35,800 here in Europe. 758 00:58:35,800 --> 00:58:42,850 Next, that is our book that is supposed to be written is from the banking, from the banking side. 759 00:58:43,720 --> 00:58:47,370 But now, if it is about an exchange rate, you don't need to send any. 760 00:58:47,560 --> 00:58:51,730 I just need to consume the API of exchange rate from whatever it is. 761 00:58:51,880 --> 00:58:53,170 You don't need to get that data. 762 00:58:54,060 --> 00:58:56,100 You need to consume it from whatever it is sitting. 763 00:58:58,080 --> 00:58:59,270 I know the map is clear. 764 00:59:06,520 --> 00:59:07,840 Is it clear, Mohammed? 765 00:59:10,310 --> 00:59:10,940 Yes, it is. 766 00:59:10,970 --> 00:59:12,260 OK, fine to. 767 00:59:16,530 --> 00:59:19,780 The game is put open fire. 768 00:59:19,840 --> 00:59:23,590 I don't know about Phoenix year being set up in the chat. 769 00:59:23,990 --> 00:59:25,300 Can you can you check the chat? 770 00:59:26,490 --> 00:59:30,360 Yes, get injured as an example of Colin and. 771 00:59:32,730 --> 00:59:44,280 I don't know why my DNA was crawling, but the good looking detective, so open fire in that one. 772 00:59:46,510 --> 00:59:54,040 Was an example of scoring and exchange rate swaps set up utils, let's see what we have there. 773 00:59:56,080 --> 00:59:58,860 So let me make this smaller. 774 00:59:59,290 --> 01:00:01,130 I will make it make it larger. 775 01:00:02,050 --> 01:00:05,260 So we got to go to Ops. 776 01:00:05,260 --> 01:00:07,720 We go to Europe next, Europe next. 777 01:00:08,440 --> 01:00:14,350 Then we got to set up this scroll down to set up, set up, set up. 778 01:00:14,860 --> 01:00:19,690 And then we do utils utils in here. 779 01:00:20,020 --> 01:00:21,430 The only thing we get 780 01:00:26,080 --> 01:00:27,610 method get exchange rate. 781 01:00:27,620 --> 01:00:28,540 I can copy that. 782 01:00:29,410 --> 01:00:34,380 And it's so good exchange rate currency. 783 01:00:34,750 --> 01:00:38,620 So it's like this thing has already been done by Europeanist actually. 784 01:00:43,090 --> 01:00:49,000 So given what is your question now, what is the point to you, as Ron, as an example of calling an 785 01:00:49,060 --> 01:00:49,840 exchange rate? 786 01:00:52,670 --> 01:00:56,880 Well, that was the question, it was just to show an example of. 787 01:00:57,770 --> 01:01:04,970 Oh, yeah, so now you see from here, this is this is a NEPA that your opponents have written in this, 788 01:01:04,980 --> 01:01:07,070 the EPA expects these things from currency. 789 01:01:07,100 --> 01:01:08,640 Maybe this is from Tunisia. 790 01:01:09,560 --> 01:01:10,850 What is the currency for Tunisia? 791 01:01:10,860 --> 01:01:14,330 Is it hot tea and the energy? 792 01:01:14,870 --> 01:01:20,960 Yeah, from that to may be US dollar debt and all that. 793 01:01:21,980 --> 01:01:24,320 So this thing is going to this is an API already. 794 01:01:24,320 --> 01:01:27,830 So you can actually consume this API into into convulsions. 795 01:01:28,370 --> 01:01:30,410 But if may maybe now for some reason. 796 01:01:30,530 --> 01:01:36,380 For some reason it's what you want to convert into is not taken care of here. 797 01:01:36,710 --> 01:01:41,720 You may need to consume it because they are free, they are free apps for currency conversion. 798 01:01:44,160 --> 01:01:55,520 Right, conversion, and we also have as a space in which we can see it is it is it is calling an external 799 01:01:55,520 --> 01:01:56,000 API. 800 01:01:56,000 --> 01:01:59,760 If you look in the code, it is calling a free API. 801 01:01:59,780 --> 01:02:00,600 Go below. 802 01:02:00,680 --> 01:02:04,610 You will see Frankfurter apply Frankfort, OK. 803 01:02:04,850 --> 01:02:05,130 Yeah. 804 01:02:05,150 --> 01:02:08,480 For example, to call an external API. 805 01:02:09,140 --> 01:02:09,590 Yeah. 806 01:02:09,590 --> 01:02:10,040 Correct. 807 01:02:10,040 --> 01:02:10,260 Yeah. 808 01:02:10,280 --> 01:02:10,520 Yeah. 809 01:02:10,520 --> 01:02:12,410 So yeah you have it here already. 810 01:02:13,560 --> 01:02:14,430 So it is a done. 811 01:02:18,880 --> 01:02:26,320 So here is the happy consume this free API they are consuming, right? 812 01:02:28,090 --> 01:02:31,150 Yeah, they are consuming now, these guys are consuming this EPA here. 813 01:02:33,600 --> 01:02:37,440 Not understanding my understanding. 814 01:02:37,520 --> 01:02:43,660 Now, if you call this API, you give input, you will get output, you would get the result or you 815 01:02:43,660 --> 01:02:44,350 get the value. 816 01:02:46,600 --> 01:02:47,010 Yes. 817 01:02:47,050 --> 01:02:53,320 Will you see this is the area using the same front that is on opensource importantly to EPA for current 818 01:02:53,320 --> 01:02:57,370 and historical foreign exchange rates published in Waterworth? 819 01:02:57,460 --> 01:02:59,050 Yeah, so you have it here. 820 01:02:59,050 --> 01:02:59,900 It's already doing it. 821 01:02:59,930 --> 01:03:00,730 Yeah, it's done. 822 01:03:01,150 --> 01:03:03,600 Just need to call this and consume it wherever you want. 823 01:03:03,610 --> 01:03:04,090 Is this one. 824 01:03:05,090 --> 01:03:10,850 And then pass these these parameters, so what is required here is the from the from currency and the 825 01:03:10,850 --> 01:03:14,480 two currency, you can leave the rest to do the rest for you. 826 01:03:19,680 --> 01:03:24,580 I am still confused between Weblogs and Aprilia and. 827 01:03:28,250 --> 01:03:34,090 So we can check tomorrow with workgroups sition and we'll understand more maybe. 828 01:03:34,640 --> 01:03:36,410 Yes, yes, yes, yes. 829 01:03:36,420 --> 01:03:40,580 But the biggest difference is for the defense data outside. 830 01:03:41,090 --> 01:03:45,590 So what I'm going to do tomorrow, maybe I'll just start another application, maybe from will be a 831 01:03:45,590 --> 01:03:51,290 lot of it will go up and then we are going to send the data we save on our article. 832 01:03:51,290 --> 01:03:56,290 And we want to see that the data on our application we have. 833 01:03:56,300 --> 01:04:06,830 When you say when you say send data or exchange data data, like if I send a purchase order from a company 834 01:04:06,830 --> 01:04:07,830 to supplier. 835 01:04:08,210 --> 01:04:09,290 This is data, right? 836 01:04:10,600 --> 01:04:19,500 A purchase order or invoice sends an invoice, sometimes we exchange documents. 837 01:04:19,580 --> 01:04:24,900 Suppose they have a planning for one month of production. 838 01:04:25,330 --> 01:04:34,510 So I will get data from my supplier or sent to my suppliers, P.O., which is ordered to purchase order. 839 01:04:34,510 --> 01:04:35,950 It has it is the data. 840 01:04:36,790 --> 01:04:40,360 It has line item quantity, all this. 841 01:04:40,810 --> 01:04:47,540 And so when I send it to my supplier, you call it data, not API, right. 842 01:04:51,410 --> 01:04:56,450 Now, I don't know whether I'm getting a question when you send a purchase order, that's a document, 843 01:04:56,450 --> 01:04:56,760 right? 844 01:04:57,420 --> 01:04:58,560 Yes, it. 845 01:05:00,440 --> 01:05:09,770 This is not what I mean by data here is suppose I say maybe I have read this document, this is IRP 846 01:05:09,770 --> 01:05:16,730 next or this is maybe our frappé application, but then I want this data to be sent to the bank. 847 01:05:17,700 --> 01:05:24,480 OK, for some reason, I want the bank to update maybe this is a payment, I want to put the inside 848 01:05:24,480 --> 01:05:29,950 of the bank to update my account with maybe some money that has been paid here. 849 01:05:30,540 --> 01:05:36,720 So this thing is actually sending data from my application, maybe the name, your name, the amount 850 01:05:36,720 --> 01:05:39,300 of money and the date from this. 851 01:05:39,750 --> 01:05:45,030 This is this software to another software that is completely independent of this. 852 01:05:46,560 --> 01:05:49,680 So it's a record you want to say record. 853 01:05:52,430 --> 01:05:52,960 Record. 854 01:05:53,530 --> 01:05:55,370 Yes, you are sending a record 855 01:05:58,250 --> 01:05:59,510 on record. 856 01:06:00,110 --> 01:06:05,900 OK, I think I be able to answer that properly when we do our books like tomorrow. 857 01:06:07,960 --> 01:06:15,100 You see, your your data is in table and ADP is a table, right? 858 01:06:15,610 --> 01:06:16,120 Yes. 859 01:06:17,760 --> 01:06:26,200 If you try to send the record one of the records from one table line, a line is a record roll. 860 01:06:26,920 --> 01:06:27,410 Yes. 861 01:06:27,430 --> 01:06:31,090 You said if you send it out, you cannot send the database. 862 01:06:31,090 --> 01:06:36,220 So they converge on this line like examine the language. 863 01:06:36,520 --> 01:06:42,210 You put it a structure, structure or adjacent. 864 01:06:42,430 --> 01:06:48,880 You would send data between systems using the standard. 865 01:06:51,850 --> 01:06:53,510 6:00 a.m. or Jason. 866 01:06:54,250 --> 01:06:57,850 So you send it as a text, it becomes text. 867 01:06:59,170 --> 01:07:04,700 Yeah, you can Europeanised allows us to send us as form data for us, Jason. 868 01:07:05,390 --> 01:07:06,060 Yes. 869 01:07:06,310 --> 01:07:09,130 So this is it is Jason. 870 01:07:09,400 --> 01:07:12,910 It become I don't know the format of Jason. 871 01:07:13,330 --> 01:07:16,030 So every record is like a text. 872 01:07:16,780 --> 01:07:19,560 So in the other side, they convert this this. 873 01:07:19,640 --> 01:07:23,030 Jason, it becomes another record again. 874 01:07:23,860 --> 01:07:24,700 Yeah, correct. 875 01:07:24,700 --> 01:07:25,400 They are correct. 876 01:07:25,930 --> 01:07:28,990 So this is you call data, but API. 877 01:07:30,010 --> 01:07:34,550 It is not data, it's just information. 878 01:07:34,900 --> 01:07:41,620 Just one information or two you you will use it in your other system like exchange rate. 879 01:07:42,160 --> 01:07:47,190 You will get a rate one one information and you will use the. 880 01:07:48,730 --> 01:07:56,470 Yes, like now, for instance, when when when Mohammed will be consuming this API, he will not be 881 01:07:56,470 --> 01:08:03,130 moving any data from Frankfurt or whatever this thing is to his next instance. 882 01:08:03,430 --> 01:08:08,710 There is no way, no way I will go to his next instance and find a table for currencies. 883 01:08:09,640 --> 01:08:16,630 So this team will be sitting on this website here and he will be using that data from their end. 884 01:08:17,880 --> 01:08:25,650 So that is what an EPA does, but our book would have sent this data from this website to his this, 885 01:08:25,650 --> 01:08:27,870 does he end up somewhere within these labels? 886 01:08:28,110 --> 01:08:29,280 You would find that data. 887 01:08:31,580 --> 01:08:36,110 I like it like you did an airplane now and you run a screen. 888 01:08:37,570 --> 01:08:47,670 ADP got this cleared and return many records, yes, so this is data, these data are correct, not 889 01:08:47,670 --> 01:08:51,960 the data, but it is API API to return data. 890 01:08:52,260 --> 01:08:56,730 It is, yes, very similar Web hooks and API I. 891 01:08:59,970 --> 01:09:01,010 We understood the difference. 892 01:09:01,090 --> 01:09:04,890 Mommy, I'm still still confused. 893 01:09:04,920 --> 01:09:10,000 Anyone in the attendees understand the difference between API and the books. 894 01:09:11,060 --> 01:09:12,980 And Newton tried to explain. 895 01:09:20,000 --> 01:09:20,500 Allu. 896 01:09:24,640 --> 01:09:25,540 Maybe. 897 01:09:27,970 --> 01:09:32,320 Who understand the difference between Warbucks and Appia? 898 01:09:32,530 --> 01:09:39,890 OK, let's see tomorrow we'll see the books and we'll ask again the same question, but you said, OK, 899 01:09:40,180 --> 01:09:41,050 I think that's better. 900 01:09:41,050 --> 01:09:42,500 That's better than me. 901 01:09:44,510 --> 01:09:45,160 OK. 902 01:09:47,850 --> 01:09:50,730 So that's it for today. 903 01:09:51,780 --> 01:10:02,710 I hope it's clear, as we noted one point from Jim, that he asked for standard apps. 904 01:10:02,760 --> 01:10:04,160 We'll get back to him. 905 01:10:04,170 --> 01:10:13,020 And again, there is another questions in the other direction, another direction from IRP, next from 906 01:10:13,020 --> 01:10:14,670 other system to IRP. 907 01:10:14,670 --> 01:10:20,240 Next, how to move, how to call external apps like you did. 908 01:10:20,250 --> 01:10:24,780 Now from is it clear this question karani what you said. 909 01:10:28,770 --> 01:10:29,550 In. 910 01:10:33,170 --> 01:10:44,120 What exactly now consuming Mohammed about it was asking about this exchange, this one, so this data 911 01:10:44,120 --> 01:10:49,970 is sitting on this website and he wants to use it somewhere within the next instance. 912 01:10:50,480 --> 01:11:00,080 So what he needs to do is an API that that that consumes these APIs and that it fortunately has already 913 01:11:00,080 --> 01:11:02,240 been written for us in the 80s. 914 01:11:02,930 --> 01:11:08,960 So you just need to participate in the passing the currency from in the currency to that's it. 915 01:11:09,170 --> 01:11:14,210 So to to do that, you may need to look at this documentation and other groups. 916 01:11:14,390 --> 01:11:19,790 They have dogs here so that you can see exactly how they are passing, how they are passing their currency 917 01:11:19,790 --> 01:11:24,920 from the currency to that it everything else when you've got I think they have a written function. 918 01:11:25,220 --> 01:11:29,440 When you come down here, what you get is the currency that you want to convert. 919 01:11:30,470 --> 01:11:42,860 And my my point is to cover this for five or 10 minutes, a dystopic Titian's, how to call external 920 01:11:42,860 --> 01:11:45,760 APIs from within the next. 921 01:11:50,890 --> 01:11:58,570 I would take note of that point, it's still open call external API. 922 01:12:00,330 --> 01:12:02,340 Within the next. 923 01:12:04,750 --> 01:12:05,400 OK. 924 01:12:11,820 --> 01:12:13,230 OK, that's it for today at. 925 01:12:15,850 --> 01:12:18,190 Uh, Muhammad Ali Aboubacar. 926 01:12:25,630 --> 01:12:30,030 You do have to resolve the issue, obviously, to install it installation. 927 01:12:30,450 --> 01:12:31,230 Is it resolved? 928 01:12:39,550 --> 01:12:41,230 Or you need more support. 929 01:12:55,950 --> 01:12:56,570 Are you there? 930 01:12:59,000 --> 01:12:59,480 No. 931 01:13:00,710 --> 01:13:04,600 Maybe get disconnected, so I will stop recording for today. 932 01:13:06,330 --> 01:13:06,960 Since.